
export default {
  namespace: 'common',
  state: {
    routerLength: 0,
  },

  effects: {
  },

  reducers: {
    /* 保存路由初始长度 */
    saveRouterLength(state:any, { payload }: any) {
      return {
        ...state,
        routerLength: payload
      }
    },
  }
}